import {AdminType} from "../models/admin";

let currentAdmin: AdminType;

const setCurrentAdminState = (admin: AdminType) => {
    currentAdmin = admin;
}

const getCurrentAdminState = () : AdminType => {
    return currentAdmin;
}

export {
    setCurrentAdminState,
    getCurrentAdminState,
}